/*
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see http://www.gnu.org/licenses/. 
 *
 *  Authors:
 *  	Albert Marieges Garcia
 *  	Álex Pardo Fernández
 *  	Enric Mayas Márquez
 *  	Juan Carlos Calvo Tejedor
 *  	Marc Gironés Dezsényi
 *  
 *  Contact:
 *  	bcn.tours.android@gmail.com
 *  Webpage:
 *  	bcntours.co.cc
 *
 */
package com.BCNTours.Model;

import java.io.Serializable;

/**
 * Base class that represents a POI.
 *
 */
public class Poi implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private int id;							// ID 
	private int type;						// TYPE 1:MON, 2:ATT, 3:MUS, 4:INF
	private String name;					// NAME
	private String address;					// ADDRESS
	private String cp;						// CP
	private String city;					// CITY
	private String country;					// COUNTRY
	private String info;					// EXTEND INFO FROM POI
	private String schedule;				// SCHEDULE FROM POI
	private String transport;				// TRANSPORT TO GO
	private String web;						// OFFICIAL WEB
	private Double gpsLong;					// LONG
	private Double gpsLat;					// LAT
	private Double gpsAlt;					// ALT
	private int image; 						// LITTLE IMAGE
	private int image2;						// BIG IMAGE
	private String linkMoreInformation;		// LINK MORE INFORMATION (WIKIPEDIA)
	
	/**
	 * Constructor
	 */
	public Poi(int id, int type, String name, String address, String cp,
			String city, String country, String info, String schedule,
			String transport, String web, Double gpsLong, Double gpsLat,
			Double gpsAlt, int image, int image2, String linkMoreInformation) {
		
		this.id = id;
		this.type = type;
		this.name = name;
		this.address = address;
		this.cp = cp;
		this.city = city;
		this.country = country;
		this.info = info;
		this.schedule = schedule;
		this.transport = transport;
		this.web = web;
		this.gpsLong = gpsLong;
		this.gpsLat = gpsLat;
		this.gpsAlt = gpsAlt;
		this.image = image;
		this.image2 = image2;
		this.linkMoreInformation = linkMoreInformation;
	}
	
	
	/////////////////////////////////////////////////////////////////////
	// GETTERS AND SETTERS
	/////////////////////////////////////////////////////////////////////

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCp() {
		return cp;
	}

	public void setCp(String cp) {
		this.cp = cp;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getSchedule() {
		return schedule;
	}

	public void setSchedule(String schedule) {
		this.schedule = schedule;
	}

	public String getTransport() {
		return transport;
	}

	public void setTransport(String transport) {
		this.transport = transport;
	}

	public String getWeb() {
		return web;
	}

	public void setWeb(String web) {
		this.web = web;
	}
	
	public Double getGpsLong() {
		return gpsLong;
	}

	public void setGpsLong(Double gpsLong) {
		this.gpsLong = gpsLong;
	}

	public Double getGpsLat() {
		return gpsLat;
	}

	public void setGpsLat(Double gpsLat) {
		this.gpsLat = gpsLat;
	}

	public Double getGpsAlt() {
		return gpsAlt;
	}

	public void setGpsAlt(Double gpsAlt) {
		this.gpsAlt = gpsAlt;
	}

	public int getImage() {
		return image;
	}

	public void setImage(int image) {
		this.image = image;
	}
	
	public int getImage2() {
		return image2;
	}

	public void setImage2(int image2) {
		this.image2 = image2;
	}

	public String getLinkMoreInformation() {
		return linkMoreInformation;
	}

	public void setLinkMoreInformation(String linkMoreInformation) {
		this.linkMoreInformation = linkMoreInformation;
	}

}